package com.hbnu.test.www.Exception_Test.TryTry03;

public class Solution {
    public boolean checkAge(int num) throws NoAgesException {
        // -- write your code here --
        if(num>=0&&num<=99){
            return true;
        }
        else{
            // throw new NoAgesException();
            return false;
        }
    }
}
